<!-- 命题计划 -->
<template>
<div><div :id="printId" class="print-container" style="page-break-after: always;">
<div style="height: 18mm;"></div>
<div style="font-weight: bolder; font-family: '思源宋体 SemiBold'!important; font-size: 8mm; text-align: center;">信息工程大学洛阳校区课程考核命题计划</div>
<div style="height: 2mm;"></div>
<div style="font-weight: bold; font-family: '楷体'!important; font-size: 5mm; text-align: center;">（{{ courseInfo.xueqi_1 }}年{{ courseInfo.xueqi_2 }}季学期）</div>
<div style="height: 2mm;"></div>
<div style="margin: 0 13mm;padding: 0;">
  <table style="width: 100%; border: 0.7mm solid black;margin:0; font-size: 3mm;">
    <colgroup>
      <col style="width: 14%" />
      <col style="width: 19%" />
      <col style="width: 14%" />
      <col style="width: 9%" />
      <col style="width: 6%" />
      <col style="width: 4%" />
      <col style="width: 10%" />
      <col style="width: 4%" />
      <col style="width: 19%" />
    </colgroup>
    <tr>
      <td class="print-label" style="width: 16%;border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">课程名称</td>
      <td class="print-content" colspan="8" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.planEntity) ? courseInfo.planEntity.coursename : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="width: 16%;border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">开课教研室</td>
      <td class="print-content" colspan="4" style="width: 17%;border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.planEntity) ? courseInfo.planEntity.classroom : "" }}&nbsp;</td>
      <td class="print-label" colspan="2" style="width: 16%;border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">课程负责人</td>
      <td class="print-content" colspan="2" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.planEntity) ? courseInfo.planEntity.courseper : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="width: 16%;border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">考试方式</td>
      <td class="print-content" colspan="4" style="width: 17%;border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.planEntity) ? courseInfo.planEntity.assmethod : "" }}&nbsp;</td>
      <td class="print-label" colspan="2" style="width: 16%;border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">课程性质</td>
      <td class="print-content" colspan="2" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.planEntity) ? courseInfo.planEntity.coursetype : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">命题方式</td>
      <td class="print-content" colspan="8" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.planEntity) ? courseInfo.planEntity.mingti : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">上课人数</td>
      <td class="print-content" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.planEntity) ? courseInfo.planEntity.attclassno : "" }}&nbsp;</td>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">试卷份数</td>
      <td class="print-content" colspan="3" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.planEntity) ? courseInfo.planEntity.shijuanno : "" }}&nbsp;</td>
      <td class="print-label" colspan="2" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">考试时长</td>
      <td class="print-content" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.planEntity) ? courseInfo.planEntity.kstime : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">命题人</td>
      <td class="print-content" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.planEntity) ? courseInfo.planEntity.mingtiper : "" }}&nbsp;</td>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">审题人</td>
      <td class="print-content" colspan="3" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.planEntity) ? courseInfo.planEntity.shentino : "" }}&nbsp;</td>
      <td class="print-label" colspan="2" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">评阅人</td>
      <td class="print-content" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">&nbsp;{{ (null != courseInfo.planEntity) ? courseInfo.planEntity.pingyueper : "" }}&nbsp;</td>
    </tr>
    <tr>
      <td class="print-label" rowspan="2" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">题目类型<br/>及<br>分数分布</br></td>
      <td class="print-label" colspan="3" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">A卷</td>
      <td class="print-label" colspan="5" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">B卷</td>
    </tr>
    <tr>
      <td class="print-label" colspan="3" style="padding: 0 0; border-right: 0.5mm solid black;">
      <table style="width: 100%;">
        <tr v-for="(atobpapersa_item, atobpapersa_index) in courseInfo.planEntity.atobpapersa"><td style="border-bottom: 0.5mm solid black;"><div style="display: flex; justify-content: space-between;padding: 0 3mm;">
        <span style="display: block;">{{ atobpapersa_index + 1 }}</span>
        <span style="display: block;">&nbsp;{{ atobpapersa_item.questiontype }}题，占&nbsp;{{ atobpapersa_item.proportion }}&nbsp;%</span>
        </div></td></tr>
      </table>
      </td>
      <td class="print-label" colspan="5" style="padding: 0 0; border-right: 0.5mm solid black;">
      <table style="width: 100%;">
        <tr v-for="(atobpapersb_item, atobpapersb_index) in courseInfo.planEntity.atobpapersb"><td style="border-bottom: 0.5mm solid black;"><div style="display: flex; justify-content: space-between;padding: 0 3mm;">
        <span style="display: block;">{{ atobpapersb_index + 1 }}</span>
        <span style="display: block;">&nbsp;{{ atobpapersb_item.questiontype }}题，占&nbsp;{{ atobpapersb_item.proportion }}&nbsp;%</span>
        </div></td></tr>
      </table>
      </td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">命题说明</td>
      <td class="print-content" colspan="8" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
      <div style="display: flex; width: 100%; flex-direction: column;">
        <div style="margin: 0 0 5mm 0; display: flex; min-height: 30mm;">
          <div style="display: block;">&nbsp;{{ (null != courseInfo.planEntity) ? courseInfo.planEntity.mingtidatails : "" }}&nbsp;</div>
        </div>
        <div style="display: block;"><div style="display: flex; justify-content: space-between;padding: 0 2mm;">
          <span style="display: block;">命题人签字：</span><span style="display: block;">年　　月　　日</span>
        </div></div>
      </div>
      </td>
    </tr>
    <tr>
      <td class="print-label" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">审题人意见</td>
      <td class="print-content" colspan="8" style="border-bottom: 0.5mm solid black; border-right: 0.5mm solid black;">
<table>
  <tr>
    <td style="width:65mm;padding: 0 2mm; text-align: justify;">
      <div>
        <img src="../../../../../public/img/icon/checkbox2.png" style="width: 3mm; height: 3mm;" v-if="courseInfo.planEntity.opinions.quantity" />
        <img src="../../../../../public/img/icon/checkbox1.png" style="width: 3mm; height: 3mm;" v-else />
        <label style="padding: 0 2mm 0 2mm;">试题数量及格式无误</label>
      </div>
    </td>
    <td style="width:65mm;padding: 0 2mm; text-align: justify;">
      <div style="display: flex;">
      <div>试题涉密：</div>
        <img src="../../../../../public/img/icon/checkbox2.png" style="width: 3mm; height: 3mm;" v-if="'是' == courseInfo.planEntity.opinions.secret" />
        <img src="../../../../../public/img/icon/checkbox1.png" style="width: 3mm; height: 3mm;" v-else />
        <label style="padding: 0 2mm 0 2mm;">是</label>
        <img src="../../../../../public/img/icon/checkbox2.png" style="width: 3mm; height: 3mm;" v-if="'否' == courseInfo.planEntity.opinions.secret" />
        <img src="../../../../../public/img/icon/checkbox1.png" style="width: 3mm; height: 3mm;" v-else />
        <label style="padding: 0 2mm 0 2mm;">否</label>
      </div>
    </td>
  </tr>
  <tr>
    <td style="padding: 0 2mm; text-align: justify;">
      <div>
        <img src="../../../../../public/img/icon/checkbox2.png" style="width: 3mm; height: 3mm;" v-if="courseInfo.planEntity.opinions.content" />
        <img src="../../../../../public/img/icon/checkbox1.png" style="width: 3mm; height: 3mm;" v-else />
        <label style="padding: 0 2mm 0 2mm;">试题内容无误</label>
      </div>
    </td>
    <td style="padding: 0 2mm; text-align: justify;">
      <div style="display: flex;">
      <div>选用试卷：</div>
        <img src="../../../../../public/img/icon/checkbox2.png" style="width: 3mm; height: 3mm;" v-if="'A卷' == courseInfo.planEntity.opinions.ab" />
        <img src="../../../../../public/img/icon/checkbox1.png" style="width: 3mm; height: 3mm;" v-else />
        <label style="padding: 0 2mm 0 2mm;">A卷</label>
        <img src="../../../../../public/img/icon/checkbox2.png" style="width: 3mm; height: 3mm;" v-if="'B卷' == courseInfo.planEntity.opinions.ab" />
        <img src="../../../../../public/img/icon/checkbox1.png" style="width: 3mm; height: 3mm;" v-else />
        <label style="padding: 0 2mm 0 2mm;">B卷</label>
      </div>
    </td>
  </tr>
  <tr>
    <td style="padding: 0 2mm; text-align: justify;">
      <div>
        <img src="../../../../../public/img/icon/checkbox2.png" style="width: 3mm; height: 3mm;" v-if="courseInfo.planEntity.opinions.score" />
        <img src="../../../../../public/img/icon/checkbox1.png" style="width: 3mm; height: 3mm;" v-else />
        <label style="padding: 0 2mm 0 2mm;">试题分值无误</label>
      </div>
    </td>
    <td style="padding: 0 2mm; text-align: justify;"></td>
  </tr>
</table>
      <div style="height: 5mm;"></div>
      <div style="display: flex; justify-content: space-between;padding: 0 2mm;">
        <span style="display: block;">审题人签字：</span><span style="display: block;">年　　月　　日</span>
      </div>
      </td>
    </tr>
  </table>
</div>
<div style="height: 2mm;"></div>
<div style="text-align: justify; margin: 0 13mm;padding: 0; font-family: '宋体'!important; font-size: 4.5mm;">
  注：1.本表在教务管理系统填写，应在试卷送印前填写完毕。<br />
  　　2.本表由监考员带至考场，巡考员将检查填写情况。
</div>
</div>
</div>
</template>

<script>
export default {
  components: {},
  props: {
    courseInfo: {},
    printId: {type: String}
  },
  data() {
    return {}
  },
  methods: {}
}
</script>

<style lang="less" scoped>
.print-container {
  width: 205.5mm;
  height: 292mm;
  color: #000000;
}
.print-label {
  font-family: '黑体'!important;
}
.print-content {
  font-family: '宋体'!important;
  > div {
    padding: 0.7mm 1mm;
    text-align: justify;
  }
}
td {
  background-color: #ffffff;
  text-align: center;
  padding: 2.5mm 0;
  font-size: 4.5mm;
}
.el-checkbox {
  > :deep(.el-checkbox__label) {
    font-size: 4.5mm;
  }
}
</style>